﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dycox.Linq
{
    public enum AggregationFunction
    {
        /// <summary>
        /// No aggregation function.
        /// </summary>
        None,
        /// <summary>
        /// Sum
        /// </summary>
        Sum,
        /// <summary>
        /// Min
        /// </summary>
        Min,
        /// <summary>
        /// Max
        /// </summary>
        Max,
        /// <summary>
        /// Average for all data
        /// </summary>
        AverageAll,
        /// <summary>
        /// Average for non-null data.
        /// </summary>
        AverageValues,
        /// <summary>
        /// Count all rows
        /// </summary>
        CountAll,
        /// <summary>
        /// Count rows which value is not null.
        /// </summary>
        CountValues
    }
}
